#include "stdafx.h"

#include "Display.h"

using namespace StillDesign::NvApi;

Display::Display( NvDisplayHandle displayHandle )
{
	_displayHandle = displayHandle;
}
Display::~Display()
{
	this->!Display();
}
Display::!Display()
{
	if( this->IsDisposed == true )
		return;
	
	_displayHandle = NULL;
}

bool Display::IsDisposed::get()
{
	return ( _displayHandle == NULL );
}

NvDisplayHandle Display::UnmanagedPointer::get()
{
	return _displayHandle;
}